package com.tm.chargecar.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tm.chargecar.dto.EvBillDto;
import com.tm.chargecar.dto.SiteBillDto;
import com.tm.chargecar.entity.EvDogcartEntity;
import com.tm.chargecar.entity.SiteDogcartEntity;
import com.tm.chargecar.vo.EvDogcartVo;
import com.tm.chargecar.vo.SiteDogcartVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author wangJie
 * @create 2022-08-24 10:15
 */
@Mapper
public interface EvDogcartMapper extends BaseMapper<EvDogcartEntity> {


    List<EvDogcartEntity> queryEv();

    void updateEv(EvDogcartEntity evDogcartEntity);

    Long queryCount();

    List<EvDogcartEntity> queryEvPage(EvDogcartVo ev);

    void insertEv(EvDogcartEntity evDogcartEntity);

    void updateState(EvDogcartEntity evDogcartEntity);

    void updateAll(EvDogcartEntity evDogcartEntity);



    List<EvBillDto> queryByEvNum(EvDogcartEntity evDogcartEntity);
}


